package com.example.demo.core.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.core.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hly
 * @since 2019-01-03
 */
public interface UserMapper extends BaseMapper<User> {

    IPage<User> selectPageVo(Page page, @Param("age") Integer age);

    List<User> find();

}
